 package com.sina.finance.api.sdk;

 public class ApiException extends Exception
 {
   private static final long serialVersionUID = -238091758285157331L;
   private String errCode;
   private String errMsg;

   public ApiException()
   {
   }

   public ApiException(String paramString, Throwable paramThrowable)
   {
     super(paramString, paramThrowable);
   }

   public ApiException(String paramString) {
     super(paramString);
   }

   public ApiException(Throwable paramThrowable) {
     super(paramThrowable);
   }

   public ApiException(String paramString1, String paramString2) {
     super(paramString1 + ":" + paramString2);
     this.errCode = paramString1;
     this.errMsg = paramString2;
   }

   public String getErrCode() {
     return this.errCode;
   }

   public String getErrMsg() {
     return this.errMsg;
   }
 }

